package com.aaa;

import com.codingapi.txlcn.tc.config.EnableDistributedTransaction;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;

/**
 * fileName:CustomagentApp
 *  * description:
 *  * author:FWB
 *  * createTime:2020/1/12 18:10
 *  * version:1.0.0
 */

@SpringBootApplication
@MapperScan("com.aaa.custom.dao")
@EnableDiscoveryClient
@EnableFeignClients
@EnableDistributedTransaction  //开启分布式事务
public class CustomagentApp {

      public static void main(String[] args) {
        SpringApplication.run(CustomagentApp.class,args);
    }

}
